/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.delivery.parcel.services.classservices;

import com.delivery.parcel.client.web.model.ParcelModel;
import com.delivery.parcel.model.Parcel;
import java.util.List;

/**
 *
 * @author Malotana
 */
public interface ParcelService {
    public List<Parcel> createParcel(ParcelModel model);
    public List<Parcel> deleteParcel(Long id);
    public ParcelModel getParcelToedit(Long id);
    public List<Parcel> updateParcel(ParcelModel model);
    public List<Parcel> getParcels();
    public List<Parcel> findAll();
}
